package masterjava.common.io;

import java.io.File;

/**
 * User: gkislin
 * Date: 7/27/11
 */
public class ReadableDirectory extends File {
    public ReadableDirectory(String pathname) {
        super(pathname);
        if (!this.isDirectory()) {
            throw new IllegalArgumentException(pathname + " is not a valid Directory");
        }
    }
}
